<%=content_for :head do%>
<title>Login page</title>
<%end%>
<%=render "shared/search"%>
<%=render "shared/logon"%>
<%=render "shared/giohang"%>
<%=render "shared/footer"%>
<%=render "shared/menu"%>


<div class="login_form" >
	<% if flash[:alert] %>
	<p id="notice" >
		<%= flash[:alert] %>
	</p>
	<% end %>
	<%= form_tag :action => "sessioncreate"  do %>
	<fieldset>
		<legend>
			Please Log In
		</legend>
		<div>
			<label for="username" >username</label>
			<%= text_field_tag :username, params[:username] %>
		</div>
		<div>
			<label for="password" >Password:</label>
			<%= password_field_tag :password, params[:password] %>
		</div>
		<div>
			<%= submit_tag "Login" %>
		</div>
	</fieldset>
	<% end %>
</div>